package com.restaurant.application.indexes.genshanguserList;

import com.nebutown.base.Unit;
import com.nebutown.generation.basictype.UID;
import com.restaurant.application.genshanguser.support.GenShangUserData;
import com.restaurant.application.indexes.genshanguserList.mysql.GenShangUserListBean;

/**
 * @author Administrator
 */
public interface AssistGenShangUserList extends Unit {

    /**
     * 获取向大表单写入的数据。
     *
     * @param uid  基元uid
     * @param data 基元数据
     * @return GenShangUserListBean
     */
    GenShangUserListBean createBean(UID uid, GenShangUserData data);

    /**
     * 获取更新大表单的数据。
     *
     * @param uid  基元uid
     * @param data 基元数据
     * @param bean 基元数据
     * @return GenShangUserListBean
     */
    GenShangUserListBean updateBean(UID uid, GenShangUserData data, GenShangUserListBean bean);
}
